﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace XBD.MyFristSWJPro
{
    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //创建一个登录窗体对象
            FrmLogin frmLogin = new FrmLogin();

            DialogResult dialogResult  = frmLogin.ShowDialog();

            if (dialogResult == DialogResult.OK) 
            {
                Application.Run(new FrmMain());
            }
        }
    }
}
